home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Form2
- BorderStyle = 3 'Fixed Double
- Caption = "CTL3D Dialog Box.."
- ClientHeight = 3276
- ClientLeft = 1140
- ClientTop = 1728
- ClientWidth = 7440
- Height = 3696
- Left = 1092
- LinkTopic = "Form2"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3276
- ScaleWidth = 7440
- Top = 1356
- Width = 7536
- Begin ComboBox Combo1
- Height = 288
- Left = 2232
- TabIndex = 6
- Text = "Combo1"
- Top = 1080
- Width = 2532
- End
- Begin DirListBox Dir1
- Height = 672
- Left = 5184
- TabIndex = 5
- Top = 648
- Width = 1956
- End
- Begin DriveListBox Drive1
- Height = 288
- Left = 5184
- TabIndex = 4
- Top = 2232
- Width = 1956
- End
- Begin FileListBox File1
- Height = 600
- Left = 5184
- TabIndex = 3
- Top = 1440
- Width = 1956
- End
- Begin ListBox List1
- Height = 792
- Left = 216
- TabIndex = 2
- Top = 864
- Width = 1380
- End
- Begin CommandButton Command1
- Caption = "OK"
- Height = 300
- Left = 3312
- TabIndex = 1
- Top = 2880
- Width = 804
- End
- Begin TextBox Text1
- Height = 288
- Left = 216
- TabIndex = 0
- Text = "Text1"
- Top = 216
- Width = 7068
- End
- Begin Line Line1
- X1 = 144
- X2 = 7272
- Y1 = 2736
- Y2 = 2736
- End
- Begin Label Label1
- BackStyle = 0 'Transparent
- Caption = "These are just some samples.."
- Height = 300
- Left = 288
- TabIndex = 7
- Top = 1728
- Width = 4044
- End
- Option Explicit
- Sub Command1_Click ()
- Unload Me
- End Sub
- Sub Form_Load ()
- 'this form is going to be a 3D Dialog box...
- 'first register me...
- Dlg3DRegister Me
- 'Make me a 3D dialog
- DlgIn3D Me
- 'Now fix my menu
- DlgSysMenu Me
- 'Center me on the screen.
- CenterForm Me
- End Sub
- Sub Form_Paint ()
- 'Here, make all of my controls 3D
- FormIn3D Me, 1
- End Sub
- Sub Form_Unload (Cancel As Integer)
- 'We are now finished, so unregister me and
- Dlg3DUnregister Me
- End Sub
-